bud.R, bar.R, and er.R provide basic functions to run BUD, BAR, and ER trials respectively. 

smc.R, conjugate.R, and mcpmod.R provide basic functions to perform inference for the dose-response curve models in the BMA, the independent dose response model, and MCPMod respectively. 

model_functions.R provides functions that define the dose-response curve models in the BMA.

scenario_definitions.R is a script that defines the scenarios used for the simulation study (as well as some that were not used), and these are recorded in scenarios.RDS. 

sim_analysis.R is the main script that analyzes the simulation results, not included, and produces the figures and tables in the paper.

process_sims.R is a script to process the raw simulation output into a form that is easier to analyze. 

one_bud_bma.R, one_run_template.R, and bud_bma_generic.sbatch are example scripts used to run the simulations on a SLURM computing cluster. 